﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

class Sunglasses
{
    static void Main()
    {
        int n = int.Parse(Console.ReadLine());

        char frameSign = '*';
        char lensSign = '/';
        char bridgeSign = '|';

        if (n > 2 && n < 102 && n % 2 > 0)
        {
            for (int row = 1; row <= n; row++)
            {
                if (row == 1 || row == n)
                {
                    Console.Write(new string(frameSign, 2 * n));
                    Console.Write(new string(' ', n));
                    Console.Write(new string(frameSign, 2 * n));
                }
                else
                {
                    if (row == (n / 2) + 1)
                    {
                        Console.Write(frameSign);
                        Console.Write(new string(lensSign, (2 * n) - 2));
                        Console.Write(frameSign);
                        Console.Write(new string(bridgeSign, n));
                        Console.Write(frameSign);
                        Console.Write(new string(lensSign, (2 * n) - 2));
                        Console.Write(frameSign);
                    }
                    else
                    {
                        Console.Write(frameSign);
                        Console.Write(new string(lensSign, (2 * n) - 2));
                        Console.Write(frameSign);
                        Console.Write(new string(' ', n));
                        Console.Write(frameSign);
                        Console.Write(new string(lensSign, (2 * n) - 2));
                        Console.Write(frameSign);
                    }
                }
                Console.WriteLine();
            }
        }
    }
}